//处理小数点函数

export const formatNumber = (num: number, decimal: number = 2) => {
  return num.toFixed(decimal)
}
